const path = require('path')
const HtmlWebapackPlugin = require('html-webpack-plugin')
module.exports = {
  mode: 'development',
  entry: './src/tab.js',
  plugins: [
    new HtmlWebapackPlugin({
      template: './public/tab.html'
    })
  ],
  module: {
    rules: [{
      test: /\.css$/,
      use: ['style-loader', 'css-loader']
    }]
  }
}